package com.mxf.code.service;

import org.springframework.transaction.annotation.Transactional;

import java.io.IOException;
import java.math.BigDecimal;

/**
 * @author : [mxf]
 * @version : [v1.0]
 * @className : TransationService
 * @description : [描述说明该类的功能]
 * @createTime : [2022/9/11 15:20]
 * @updateUser : [mxf]
 * @updateTime : [2022/9/11 15:20]
 * @updateRemark : [描述说明本次修改内容]
 */
public interface AccountService {

    @Transactional(rollbackFor = Exception.class)
    void doTransfer(int from, int to, BigDecimal bigDecimal) throws IOException;
}
